Programming CLI Commands in Program [C / LINUX]
Posted
by Blackbinary
on Stack Overflow
See other posts from Stack Overflow
or by Blackbinary
Published on 2010-03-17T16:47:09Z
Indexed on
2010/03/17
16:51 UTC
Read the original article
Hit count: 201
I am attempting to make a program in C which presents a GUI and allows the user to select from a list of applications, which to install on the computer. I can manage the gui, but I've never been taught how to actually issue command line commands.
I know with bash its just apt-get install firefox
for example, but how do I do such a thing with C? i.e. on click, the program runs 'apt-get install
The other problem is I'm not familiar with the proper name for this interaction, so it is hard to search.
Thanks for the help
© Stack Overflow or respective owner